package com.bw.shopping.mvvm.view.fragment;

import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;
import android.widget.CheckBox;
import android.widget.CompoundButton;
import android.widget.RelativeLayout;

import androidx.annotation.Nullable;

import com.alibaba.android.arouter.facade.annotation.Route;
import com.bw.mvvm_common.mvvm.view.BaseFragment;
import com.bw.shopping.BR;
import com.bw.shopping.R;
import com.bw.shopping.adapter.ShopCarAdapter;
import com.bw.shopping.databinding.ShopFragmentBinding;
import com.bw.shopping.mvvm.viewmodel.ShopViewModel;

@Route(path = "/shopping/mvvm/view/fragment/ShopFragment")
public
/**
 * @author Lishaohe
 * @description:
 * @date :2021/10/20 0020 上午 10:48
 *
 */
class ShopFragment extends BaseFragment<ShopFragmentBinding, ShopViewModel> {



    @Override
    public int bindLayout() {
        return R.layout.shop_fragment;
    }

    @Override
    public int initVerable() {
        return BR.shopcar;
    }

    @Override
    public void onResume() {
        super.onResume();
        vm.requestShopcar();
    }


}
